// pages/home/home.js
Page({
  data: {
    count: 0,
  },
  handleInput(e) {
    this.setData({
      count: e.detail.value
    })
  }
})